<div class="pollBlock">
<div class="pollQue">$QUESTION$</div>
<div class="pollAns">
$ANSWERS$
<input type="hidden" name="id" value="5" />
<input type="hidden" name="a" value="1" /><input type="hidden" name="ajax" value="541" /></div>
<div class="bpoll"><a href="$RESULTS_LINK$"></a></div>
<div class="bprez">: $TOTAL_VOTES$ ()</div>
</div>

<style>
.answer div div {height: 10px !important; border: 1px solid #000; background-repeat: repeat-x}
</style>
<script type="text/javascript">
var a = ['http://wapa.3dn.ru/images/pol/poll1.gif','http://wapa.3dn.ru/images/pol/poll2.gif','http://wapa.3dn.ru/images/pol/poll3.gif','http://wapa.3dn.ru/images/pol/poll4.gif','http://wapa.3dn.ru/images/pol/poll5.gif'];
for(var i = 0; i < a.length; i++){
 $('div.answer div div').eq(i).css({background: 'url(' + a[i] + ')', backgroundRepeat: 'repeat-x'});
}

$('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});
</script>